import { SortableContainer, SortableElement, SortableHandle } from "react-sortable-hoc";
import { MenuOutlined } from "@ant-design/icons";
import React from "react";

export const DragHandle = SortableHandle(() => <MenuOutlined style={{ cursor: 'move', color: '#999' }} />);
export const SortableItem = SortableElement((props: any) => <tr {...props} />);
export const SortableBody = SortableContainer((props: any) => <tbody {...props} />);
